﻿using Microsoft.SharePoint.Linq;
using ZhukBlogLinqExamples.Model;

namespace ZhukBlogLinqExamples.Repositories
{
    public class DocumentRepository : BaseRepository<ZhukDataItem, DataContext>
    {
        /// <summary>
    /// Название списка
    /// </summary>
    private new const string ListName = "DocumentLibrary";

    public DocumentRepository()
        : base(ListName) { }
    public DocumentRepository(bool readOnly)
        : base(ListName, readOnly) { }
    public DocumentRepository(string webUrl)
        : base(ListName, webUrl) { }
    public DocumentRepository(string webUrl, bool readOnly)
        : base(ListName, webUrl, readOnly) { }
    }
}
